<?php
session_start();
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <?php
        require_once "@includer.php";
    ?>
    <script src="Admin/JS/HttpListener.js"></script>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>Content Management System</title>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <link href="Admin/Style/default.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='showMenuContent("index.php","")'>
<!-- start header -->
<div id="header">
    <div id="logo">
        <h1><a href="#">Content Management System</a></h1>
        <h2></h2>
    </div>
    <div id="menu">
        <ul>
            <?php
            if ($_SESSION["userNameAdmin"] != "") {
                ?><li><a href="#" onclick="showMenuContent('Daftardetail_jenis_produk.php','')">Admin detail_jenis_produk</a></li>
<li><a href="#" onclick="showMenuContent('Daftarfoto_produk.php','')">Admin foto_produk</a></li>
<li><a href="#" onclick="showMenuContent('Daftarjenis_produk.php','')">Admin jenis_produk</a></li>
<li><a href="#" onclick="showMenuContent('Daftarkomentar.php','')">Admin komentar</a></li>
<li><a href="#" onclick="showMenuContent('Daftarkotak_pesan.php','')">Admin kotak_pesan</a></li>
<li><a href="#" onclick="showMenuContent('Daftarm_user.php','')">Admin m_user</a></li>
<li><a href="#" onclick="showMenuContent('Daftarmember.php','')">Admin member</a></li>
<li><a href="#" onclick="showMenuContent('Daftarproduk.php','')">Admin produk</a></li>
<li><a href="#" onclick="showMenuContent('Daftarv_komentar.php','')">Admin v_komentar</a></li>
<li><a href="#" onclick="showMenuContent('Daftarv_pesan.php','')">Admin v_pesan</a></li>
<li><a href="index_admin.php?logout=true">Logout</a></li>
<?php
        }
        ?>
        </ul>
    </div>
</div>